﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class fleet : System.Web.UI.UserControl
{
    //public string TownID;
    protected void Page_Load(object sender, EventArgs e)
    {
        //String s = "";
        //try
        //{
        //s = Request.QueryString["Fleet"];

        //if (!string.IsNullOrEmpty(s))
        //{
        //    ListView1.Visible = false;
        //    ListView2.Visible = true;
        //}
        //else
        //{
        //    ListView1.Visible = true;
        //    ListView2.Visible = false;
        //}
        //}
        //catch (Exception)
        //{
            
        //    throw;
        //}

        //System.Text.StringBuilder displayValues =  new System.Text.StringBuilder();
        //System.Collections.Specialized.NameValueCollection  postedValues = Request.Form;
        //String nextKey;
  
        //for (int i = 0; i < postedValues.AllKeys.Length; i++)
        //{
        //    nextKey = postedValues.AllKeys[i];
        //    if (nextKey.Substring(0, 2) != "__")
        //    {
        //        displayValues.Append("<br>");
        //        displayValues.Append(nextKey);
        //        displayValues.Append(" = ");
        //        displayValues.Append(postedValues[i]);
        //    }
        //}
        //Label1.Text = displayValues.ToString();
        //TownID = postedValues.AllKeys[0].ToString();
    }
}